package com.yuantu.judiciary.exception.enums;

import com.yuantu.judiciary.common.CodeEnum;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 认证模块异常码
 *
 * @author syw
 * @since 2023-08-11
 **/
@Getter
@RequiredArgsConstructor
public enum ExternalExceptionEnum implements CodeEnum {
    /**
     * 认证相关
     */
    TICKET_NOT_EXIST(56001, "ticket不存在"),
    TICKET_NOT_REGISTER(56002, "ticket未注册"),
    REQUEST_NUM_NOT_ENOUGH(56003, "请求次数已用完"),


    ;

    private final int code;
    private final String message;
}
